/**
 * ----------------------------------------------------------------------------
 * Copyright Jens Konopka
 * 
 * Alle Rechte vorbehalten.
 * Licence: Apache 2.0
 * ----------------------------------------------------------------------------
 *
 * created on 05.03.2012 by jkonopka
 */
package de.sql.toolkit.generator;

import java.io.File;
import java.util.logging.Logger;

import de.sql.toolkit.model.Table;

/**
 * @author jkonopka
 *
 */
abstract class AbstractGenerator implements IGenerator {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5087067380939534719L;
	protected final Logger logger = Logger.getLogger(getClass().getName());
	private Table table;
	private File dstPath;
	
	/**
	 * @param table
	 * @param dstPath
	 */
	protected AbstractGenerator(Table table, File dstPath) {
		this.table = table;
		this.dstPath = dstPath;
	}

	/**
	 * @return the table
	 */
	protected Table getTable() {
		return table;
	}

	/**
	 * @param table the table to set
	 */
	protected void setTable(Table table) {
		this.table = table;
	}

	/**
	 * @return the dstPath
	 */
	protected File getDstPath() {
		return dstPath;
	}
	
	/**
	 * @param dstPath the dstPath to set
	 */
	protected void setDstPath(File dstPath) {
		this.dstPath = dstPath;
	}

}
